package com.itheima.chap05;

public class otherFeatureDemo {
    public static void main(String[] args) {
        System.out.println(Shape.PI);

        double perimeter = Shape.calculatePerimeter(5);
        System.out.println("周长 = " + perimeter);

        Circle circle = new Circle(5);
        double area = circle.calculateArea(5);
        System.out.println("面积 = " + area);
    }
}
